.class Lcom/waiqin365/lightapp/photo/b;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->b(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/photo/c/b;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/photo/c/b;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    new-instance v2, Lcom/waiqin365/lightapp/photo/c/b;

    invoke-direct {v2}, Lcom/waiqin365/lightapp/photo/c/b;-><init>()V

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->a(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;Lcom/waiqin365/lightapp/photo/c/b;)Lcom/waiqin365/lightapp/photo/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->c(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/photo/c/b;

    move-result-object v1

    iput-object v0, v1, Lcom/waiqin365/lightapp/photo/c/b;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->a(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->i()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->d(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->e(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Landroid/widget/TextView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->f(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Landroid/widget/EditText;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->setContent(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->g(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/b/c;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/b/c;-><init>()V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectSingleView;->setPicType(Lcom/waiqin365/lightapp/b/c;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->a(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->A()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->a(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    move-result-object v0

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "HHmmssSSS"

    sget-object v3, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-direct {v1, v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setViewId(Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->b(Lcom/waiqin365/lightapp/photo/TakePhotosActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/photo/b;->a:Lcom/waiqin365/lightapp/photo/TakePhotosActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/photo/TakePhotosActivity;->back()V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0064
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
